package com.eternal.permission.service;

import com.eternal.permission.entity.RoleInfo;
import com.eternal.permission.entity.UserRole;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 用户角色表 服务类
 * </p>
 *
 * @author Eternal
 * @since 2018-08-26
 */
public interface UserRoleService extends IService<UserRole> {

    List<RoleInfo> getRoleByUserId(String userId);

}
